<template>
	<view>
		<u-tabbar v-model="tab_current"  :active-color="base.fcolor" inactive-color="#9ea2a8" :list="tablist"  ></u-tabbar>
		
	</view>
</template>

<script>
	export default {
		name:"v-tabbar",
		props: {
			tab_current: {
				type: Number,
				default:0
			},
		},
		data() {
			return {
				tablist: [{
						iconPath: "home-fill",
						selectedIconPath: "home-fill",
						text: '首页',
						customIcon: false,
						pagePath:'/pages/index/index'
					},
					{
						iconPath: "coupon-fill",
						selectedIconPath: "coupon-fill",
						text: '券包',
						customIcon: false,
						pagePath:'/pages/member/member'
					},
					{
						iconPath: "bell-fill",
						selectedIconPath: "bell-fill",
						text: '规则',
						customIcon: false,
						pagePath:'/pages/infor/infor'
					},
					{
						iconPath: "scan",
						selectedIconPath: "scan",
						text: '商户',
						customIcon: false,
						pagePath:'/pages/shop/shop'
					}
				],
				
			};
		}
	}
</script>

<style>

</style>